{% load static %}
<link rel="stylesheet" href="{% static 'polls/style.css' %}">
<html>

<head>
    <title>Polls</title>
</head>

<body>

    {% if latest_question_list %}
    <ul>
        {% for question in latest_question_list %}
        <li><a href="{% url 'polls:detail' question.id %}"> {{ question.question_text}} </li></a>
        {% endfor %}
    </ul>
    {% else %}
    <p>No polls are available.</p>
    {% endif %}
</body>

</html>